package com.yuju.roomStatus.dao.impl;

import java.util.List;

import com.yuju.order.dao.entity.ReserveRoom;
import com.yuju.order.model.ReserveRoomModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.yuju.roomStatus.dao.IRoomStatusDao;
import com.yuju.roomStatus.dao.mapper.RoomStatusMapper;
import com.yuju.roomStatus.model.RoomStatusModel;

@Repository
public class RoomStatusDaoImpl implements IRoomStatusDao {
	
	@Autowired
	private RoomStatusMapper roomStatusMapper;
	
	@Override
	public List<RoomStatusModel> getRoomStatus(RoomStatusModel roomStatusModel) {
		return roomStatusMapper.getRoomStatus(roomStatusModel);
	}

	@Override
	public List<RoomStatusModel> getForwardRoomStatus(RoomStatusModel roomStatusModel){
		return roomStatusMapper.getForwardRoomStatus(roomStatusModel);
	}

	@Override
	public List<ReserveRoomModel> getReserveRoomInfo(ReserveRoomModel reserveRoomModel){
		return roomStatusMapper.getReserveRoomInfo(reserveRoomModel);
	}

}
